package cn.com.nes.site.service.comecall;


import cn.com.nes.site.service.comecall.dto.CallOfTimeStatisticsDto;
import cn.com.nes.site.service.comecall.dto.CallRecordsDto;
import cn.com.nes.site.service.comecall.dto.CallWorkOrderStatisticsDto;
import cn.com.nes.site.service.comecall.entity.CallRecords;
import cn.com.nes.site.service.comecall.vo.CallOfTimeStatisticsVo;
import cn.com.nes.site.service.comecall.vo.CallQuantityStatisticsVo;
import cn.com.nes.site.service.comecall.vo.CallRecordsVO;
import cn.com.nes.site.service.comecall.vo.CallWorkOrderStatisticsVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

public interface CallRecordsService extends IService<CallRecords> {

    Page<CallRecordsDto> getCallRecords(CallRecordsVO vo);

    Integer saveCallRecords(String appId, String secret, List<CallRecords> vo);

    Map<String, Object> getCallQuantityStatistics(CallQuantityStatisticsVo vo);

    List<CallOfTimeStatisticsDto> getCallOfTimeStatistics(CallOfTimeStatisticsVo vo);

    List<CallWorkOrderStatisticsDto> getCallWorkOrderStatistics(CallWorkOrderStatisticsVo vo);
}
